package com.ufgov.ip.sysmanager.entity;

import java.io.Serializable;

import javax.persistence.*;

import java.math.BigDecimal;


/**
 * The persistent class for the ip_company database table.
 * 
 */
@Entity
@Table(name="ip_company")
@NamedQuery(name="IpCompany.findAll", query="SELECT i FROM IpCompany i")
public class IpCompany implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="CO_ID")
	private String coId;

	@Column(name="CO_CODE")
	private String coCode;

	@Column(name="CO_DESC")
	private String coDesc;

	@Column(name="CO_FULLNAME")
	private String coFullname;

	@Column(name="CO_NAME")
	private String coName;

	@Column(name="HIRER_ID")
	private String hirerId;

	@Column(name="IS_ENABLED")
	private String isEnabled;

	private String linkman;

	@Column(name="PARENT_CO_ID")
	private String parentCoId;
	
	@Column(name="LEVEL_NUM")
	// 默认一级 
	private int levelNum=1;
	
	@Column(name="DEPT_DETAIL")
	private String deptDetail;
	
	@Column(name="DISP_ORDER",insertable=false,updatable=true)
	private int dispOrder=0;
	
	@Column(name="AGCFS_DW_TYPE")
	private String coType;

	public String getCoType() {
		return coType;
	}

	public void setCoType(String coType) {
		this.coType = coType;
	}

	public IpCompany() {
	}

	public String getCoId() {
		return this.coId;
	}

	public void setCoId(String coId) {
		this.coId = coId;
	}

	public String getCoCode() {
		return this.coCode;
	}

	public void setCoCode(String coCode) {
		this.coCode = coCode;
	}

	public String getCoDesc() {
		return this.coDesc;
	}

	public void setCoDesc(String coDesc) {
		this.coDesc = coDesc;
	}

	public String getCoFullname() {
		return this.coFullname;
	}

	public void setCoFullname(String coFullname) {
		this.coFullname = coFullname;
	}

	public String getCoName() {
		return this.coName;
	}

	public void setCoName(String coName) {
		this.coName = coName;
	}

	public String getHirerId() {
		return this.hirerId;
	}

	public void setHirerId(String hirerId) {
		this.hirerId = hirerId;
	}

	public String getIsEnabled() {
		return this.isEnabled;
	}

	public void setIsEnabled(String isEnabled) {
		this.isEnabled = isEnabled;
	}

	public String getLinkman() {
		return this.linkman;
	}

	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}

	public String getParentCoId() {
		return this.parentCoId;
	}

	public void setParentCoId(String parentCoId) {
		this.parentCoId = parentCoId;
	}

	public int getLevelNum() {
		return levelNum;
	}

	public void setLevelNum(int levelNum) {
		this.levelNum = levelNum;
	}

	public String getDeptDetail() {
		return deptDetail;
	}

	public void setDeptDetail(String deptDetail) {
		this.deptDetail = deptDetail;
	}

	public int getDispOrder() {
		return dispOrder;
	}

	public void setDispOrder(int dispOrder) {
		this.dispOrder = dispOrder;
	}

}